package com.micromall.repository.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 资金账户信息
 *
 * @author zhangzxiang91@gmail.com
 * @date 2016/04/09.
 */
public class CashAccount {

	// 所属用户id
	private Integer    uid;
	// 会员余额
	private BigDecimal balance;
	// 佣金账户金额
	private BigDecimal availableCommission;
	// 佣金总金额
	private BigDecimal totalCommission;
	// 销售总额
	private BigDecimal totalSales;
	// 创建时间
	private Date       createTime;
	// 更新时间
	private Date       updateTime;

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public BigDecimal getAvailableCommission() {
		return availableCommission;
	}

	public void setAvailableCommission(BigDecimal availableCommission) {
		this.availableCommission = availableCommission;
	}

	public BigDecimal getTotalCommission() {
		return totalCommission;
	}

	public void setTotalCommission(BigDecimal totalCommission) {
		this.totalCommission = totalCommission;
	}

	public BigDecimal getTotalSales() {
		return totalSales;
	}

	public void setTotalSales(BigDecimal totalSales) {
		this.totalSales = totalSales;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
